package com.hdyg.sixg.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hdyg.sixg.R;
import com.hdyg.sixg.entry.NativeGuideBean;
import com.hdyg.sixg.util.ImageLoadUtil;

import java.util.List;


/**
 * @author CZB
 * @describe 总钱包适配器
 * @time 2019/3/20 14:22
 */
public class AllMoneyMenuAdapter extends BaseQuickAdapter<NativeGuideBean, BaseViewHolder> {

    public AllMoneyMenuAdapter(int layoutResId, @Nullable List<NativeGuideBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, NativeGuideBean item) {
        helper.setImageResource(R.id.iv_image,item.getSelectImg());
        helper.setText(R.id.tv_content,item.getText());
    }
}
